<template>
  <view class="target-page">
   <image src="/static/20200402203301_tymmx.gif" mode=""></image>
    <view class="page-content">
      <text>坤坤</text>
    </view>
    <button class="back-btn" @click="goBack">返回上一页</button>
  </view>
</template>

<script>
export default {
  methods: {
    goBack() {
      uni.navigateBack({ delta: 1 });
    }
  }
};
</script>

<style>
.target-page {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.page-title {
  font-size: 22px;
  font-weight: bold;
  color: #34a853; /* 绿色系：区分页面 */
}
.page-content {
  font-size: 16px;
  color: #333;
}
.back-btn {
  background-color: #34a853;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  margin-top: 20px;
}
</style>
